<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- saved from url=(0238)https://mooc1-1.chaoxing.com/work/selectWorkQuestionYiPiYue?courseId=214699927&classId=32267409&workId=10432782&workAnswerId=19161974&isdisplaytable=2&mooc=1&ut=s&evaluation=0&enc=e625b5bcffe89177147538f4f67a4fd5&workSystem=0&cpi=65802072 -->
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<title>【20上】Linux系统编程-作业</title><link rel="stylesheet" type="text/css" href="./【20上】Linux系统编程-作业_files/teacherHeader.css">
<link href="./【20上】Linux系统编程-作业_files/moocLeft.css" type="text/css" rel="stylesheet"><link href="./【20上】Linux系统编程-作业_files/ZuoYe.css" type="text/css" rel="stylesheet">
	<link href="./【20上】Linux系统编程-作业_files/teacherclass.css" rel="stylesheet" type="text/css">
<link href="./【20上】Linux系统编程-作业_files/teacherclassCH.css" rel="stylesheet" type="text/css"><link href="./【20上】Linux系统编程-作业_files/percentBar.css" rel="stylesheet" type="text/css">
<link href="./【20上】Linux系统编程-作业_files/connLine.css" rel="stylesheet" type="text/css">
<link href="./【20上】Linux系统编程-作业_files/questionBankUsual.css" type="text/css" rel="stylesheet">	<script type="text/javascript" src="./【20上】Linux系统编程-作业_files/jquery.min.js.下载"></script>
<script type="text/javascript" src="./【20上】Linux系统编程-作业_files/jquery-migrate.min.js.下载"></script><script src="./【20上】Linux系统编程-作业_files/right.js.下载"></script>
<script src="./【20上】Linux系统编程-作业_files/attach-mark.js.下载"></script>
<script src="./【20上】Linux系统编程-作业_files/preview-attach.js.下载"></script><link href="./【20上】Linux系统编程-作业_files/viewer.min.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="./【20上】Linux系统编程-作业_files/viewer-jquery.min.js.下载"></script>
<script type="text/javascript">
try{
	$(function(){
		var imgList = $(".TiMu").find("div img:not(.workAttach img, .attach img, .attachNew img, .stuAnswerArea img)");
		for (var i = 0, len = imgList.size(); i < len; i++) {
			 var src = imgList.eq(i).attr("src");
			 if(src){
    			var index = src.indexOf("375_1024");
    			if (index != -1) {
    				src = src.replace("375_1024", "origin");
    			}
                 var index2 = src.indexOf("750_1024");
                 if (index2 != -1) {
                     src = src.replace("750_1024", "origin");
                 }
    			imgList.eq(i).attr("data-original", src);
		   }
		}
        $(".TiMu").find("div img:not(.workAttach img, .attach img, .attachNew img, .stuAnswerArea img)").viewer({
			url : 'data-original',
		});
	})
  }catch(error){}
</script><script type="text/javascript" src="./【20上】Linux系统编程-作业_files/jsapi.js.下载"></script>
<script type="text/javascript" src="./【20上】Linux系统编程-作业_files/corechart.js.下载"></script>		
<script type="text/javascript" src="./【20上】Linux系统编程-作业_files/jquery.gvChart-1.0.1.min.js.下载"></script>
<script type="text/javascript" src="./【20上】Linux系统编程-作业_files/jquery.ba-resize.min.js.下载"></script>

<script type="text/javascript">
gvChartInit();

var title=["收回","查看答案"];
function toggleDivStatistic(event){
var id=$(event).attr("id");
var nowTitle=$(event).text();
if(nowTitle==title[0]){
$(event).text(title[1]);
$("#"+id+"_div").slideUp();
$("#pieDiv_"+id).slideUp();
}
if(nowTitle==title[1]){
$(event).text(title[0]);
$("#"+id+"_div").slideDown();
$("#pieDiv_"+id).slideDown();
}

}
		  
</script><script>
$(function(){
	$(".TiMu").hover(function(){
		$(this).find(".sc").show();
    },function(){
    	$(this).find(".sc").hide();
    })

})
</script>
<style>
	.sc{display:none;}
	.ulTop span{margin-right:0px;}
	.thirdUlList{border-bottom:none;}
	.Py_addpy a.xl{background-position: -17px -727px;width: 14px;height: 17px;}
	.Zy_TItle p{display:block;} 
    em{font-style: italic;}
    .TiMu img{display:inline-block;max-width:100%;height:auto}
    .Cy_TItle1 h2{ font:bold 16px/40px "Microsoft YaHei"; color:#202020;margin-top:20px;}
</style>
<link rel="prefetch"><script type="text/javascript" src="chrome-extension://dbjbempljhcmhlfpfacalomonjpalpko/scripts/inspector.js"></script><input type="hidden" id="_w_brink"></head>
<body class="bg" style="zoom: 1;">
		
			<div class="mb10">
            			                                    <script type="text/javascript" src="./【20上】Linux系统编程-作业_files/allHead.shtml" charset="utf-8"></script><link rel="stylesheet" href="./【20上】Linux系统编程-作业_files/h_index.css" type="text/css">
<script type="text/javascript">
function lo(){
	
		var url = "http://i.mooc.chaoxing.com";
	
    
          window.location.href = "//passport2.chaoxing.com/login?newversion=true&loginType=4&fid=262&refer="+url;
    
   }
	function logout(){
		var url = "http://ncu.benke.chaoxing.com";
		
	  
		window.location.href = "//passport2.chaoxing.com/logout.html?refer="+url 
    
	}
	function changeLeaguage(lea){
	 var url = window.location.href;
	 window.location.href = "http://ncu.benke.chaoxing.com/changeLeaguage.html?language="+lea+"&refer="+url;
	}
</script>
<style>
	.zoh_god { display:none;position:relative; height:30px; border-bottom:1px #aaaa8e solid; background-color:#ffffcc; line-height:30px; font-size:14px; color:#444;}
	.zoh_god a { color:#06F;}
	.zoh_close { position:absolute; right:0; top:0; display:inline-block; float:right; width:30px; height:30px; vertical-align:middle; cursor:pointer; background:url(http://ncu.benke.chaoxing.com/template/default/images/oh_god.gif) center no-repeat;}
  .zoh_100 { position:absolute; display:block; width:100%; height:30px; text-align:center;}
</style>
<div class="zoh_god" id="zoh_god"><span class="zoh_100"><span>为了您更好的参与教学内容，建议您使用更快速的浏览器。</span><a href="http://www.fanya.chaoxing.com/static/brower.html">点击下载更新</a></span><span class="zoh_close" onclick="closezoh()"></span></div>
<script>
	function closezoh(){
	 	if(confirm("我知道了，下次不再提示?")){ 
	 		writeCookie("checkbrower","1",24);
	 	}
	 document.getElementById("zoh_god").style.display="none";
	}
    var ua = navigator.userAgent; 
    var s = "MSIE";
    var ie11 = "rv:11.0";
    var i = ua.indexOf(s);
    var ie = ua.indexOf(ie11);
    var c = getCookie("checkbrower");
    if (i >= 0 && ie<0) {//如果是ie并且不是ie11
       //获取IE版本号   
        var ver = parseFloat(ua.substr(i + s.length));
        if (ver<8 && c!="1") {
        	document.getElementById("zoh_god").style.display="block";
		}
    }   
function writeCookie(name, value, hours){  
        var expire = "";  
        if(hours != null){  
          expire = new Date((new Date()).getTime() + hours * 3600000);  
          expire = "; expires=" + expire.toGMTString(); 
        	if(hours == "0"){  
        		expire = "";	 
        	}  
          path = ";path=/;domain=chaoxing.com";
        }  
        document.cookie = name + "=" + escape(value) +path+expire;  
        }  
	function getCookie(Name)  
    {  
        var search = Name + "=" ; 
        if(document.cookie.length > 0)  
        {  
            offset = document.cookie.indexOf(search)  
            if(offset != -1)  
            {  
                offset += search.length
                end = document.cookie.indexOf(";", offset)  
                if(end == -1) end = document.cookie.length  
                return unescape(document.cookie.substring(offset, end))  
            }  
            else return ""; 
        }  
    }
</script>
<div class="zoh_god" id="zoh_god"><span class="zoh_100"><span>为了更好的参与教学内容，请您务必使用<a href="http://www.google.cn/intl/zh-CN/chrome/" target="_blank" style="text-decoration: underline;font-style: italic;">chrome 31+</a>或<a href="http://www.firefox.com.cn/download/" target="_blank" style="text-decoration: underline;font-style: italic;">firefox 32+</a>浏览器</span></span><span class="zoh_close" onclick="closezoh()"></span></div>
<div class="ztop">
	<div class="zt_center">
    	<div class="zt_logo" style="width:80px;"><a href="http://ncu.benke.chaoxing.com/">首页</a></div>
        <div class="zt_user" style="padding-right: 20px;">
        	<div class="zt_u_abs" id="zt_u_abs">
            	<p class="zt_u_b"><a href="http://i.mooc.chaoxing.com/"><img class="zt_u_pro" src="./【20上】Linux系统编程-作业_files/80347066_80" width="25" height="25"></a><a href="http://i.mooc.chaoxing.com/"><span class="zt_u_name">林凯</span><input class="h-combox" style="cursor: pointer;"></a></p>
                <ul class="zt_u_bg" id="zt_u_bg">
                    <li class="zt_u_enter"><a href="http://i.mooc.chaoxing.com/">进入空间</a></li>
                    <li class="zt_u_exit"><a href="javascript:void(0);" onclick="logout()">退出登录</a></li>
                </ul>
            </div>
        </div>
<script src="./【20上】Linux系统编程-作业_files/h_index.js.下载" type="text/javascript"></script>
        <div class="clear"></div>
    </div>
</div>

                                    </div>
		


	
<style type="text/css">
	 .workTip{display:none;width:8px;height:8px;background:red;border-radius:8px;position:absolute;top:-2px;right:0px}
	 .testTip{display:none;width:8px;height:8px;background:red;border-radius:8px;position:absolute;top:-2px;right:0px}
	 .cdataTip{display:none;width:8px;height:8px;background:red;border-radius:8px;position:absolute;top:-2px;right:0px}
	 .workTipPd{display:none;width:8px;height:8px;background:red;border-radius:8px;position:absolute;top:10px;right:0px}
     .experience{display:inline-block;width:82px;height:28px;border:1px solid #e1e7f0;background: #F6F9FE;text-align:center;line-height:28px;font-size:14px;color:#5C7499;border-radius: 30px;margin-left: 20px;}
     .experience:hover{opacity:0.7}
	 .US{ display: inline-block;width: 76px;overflow: hidden;height: 40px;white-space: nowrap;text-overflow: ellipsis;line-height: 40px;}
</style>

<div class="c-header">
		<div class="headerwrap">
					<div class="c-menu">
				<div class="navhide">
					<span></span>功能导航				</div>
									<div class="navshow">
						<ul>
														    							        <li><a mode="yiji" href="https://mooc1-1.chaoxing.com/mycourse/studentcourse?courseId=214699927&amp;clazzid=32267409&amp;ut=s&amp;enc=c53418ecfe9c3c8d6eb6568ca54ac552&amp;cpi=&amp;openc=" title="首页">首页</a><label id="mytaskcount"></label></li>
							    			    				 							        																																										                                                    <li><a mode="fuseMode" target="_blank" href="https://mobilelearn.chaoxing.com/widget/pcpick/stu/index?courseId=214699927&amp;jclassId=32267409" title="任务">任务</a></li>
																																												    				    																																																	<li><a href="https://mooc1-1.chaoxing.com/moocAnalysis/statistics-std?courseId=214699927&amp;classId=32267409&amp;ut=s&amp;enc=c53418ecfe9c3c8d6eb6568ca54ac552&amp;cpi=&amp;openc=">统计</a></li>
																																																						    <li><a onclick="rmWorkDot(&#39;32267409&#39;,&#39;cdata&#39;,this);" href="https://mooc1-1.chaoxing.com/coursedata?classId=32267409&amp;courseId=214699927&amp;type=1&amp;ut=s&amp;enc=c53418ecfe9c3c8d6eb6568ca54ac552&amp;cpi=&amp;openc=" data="/coursedata?classId=32267409&amp;courseId=214699927&amp;type=1&amp;ut=s&amp;enc=c53418ecfe9c3c8d6eb6568ca54ac552&amp;cpi=&amp;openc=" title="资料">资料</a><i class="cdataTip"></i></li>
							    																													   		<li><a mode="fuseMode" href="https://mooc1-1.chaoxing.com/schoolCourseInfo/getNotifyList?courseId=214699927&amp;classId=32267409&amp;ut=s&amp;enc=c53418ecfe9c3c8d6eb6568ca54ac552&amp;cpi=&amp;openc=" title="通知">通知</a></li>
							    															
																																													<li><a onclick="rmWorkDot(&#39;32267409&#39;,&#39;work&#39;,this);" class="current" href="javascript:;" data="/work/getAllWork?classId=32267409&amp;courseId=214699927&amp;isdisplaytable=2&amp;mooc=1&amp;ut=s&amp;enc=c53418ecfe9c3c8d6eb6568ca54ac552&amp;cpi=&amp;openc=" title="作业">作业  </a><i class="workTip"></i></li>
																																											    								    	<li><a mode="yiji" onclick="rmWorkDot(&#39;32267409&#39;,&#39;exam&#39;,this);" href="javascript:;" data="/exam/test?classId=32267409&amp;courseId=214699927&amp;ut=s&amp;enc=c53418ecfe9c3c8d6eb6568ca54ac552&amp;cpi=&amp;openc=" title="考试">考试 </a><i class="testTip"> </i></li>
								    																														
																	<li><a href="https://mobilelearn.chaoxing.com/page/renwuNew/stuRenwuList?courseid=214699927&amp;clazzid=32267409&amp;fid=${schoolid}" target="_blank" title="分组任务(PBL)">分组任务(PBL)</a></li>
																
														    							    									        								        	<li><a mode="fuseMode" href="https://mooc1-1.chaoxing.com/bbscircle/grouptopic?courseId=214699927&amp;clazzid=32267409&amp;showChooseClazzId=32267409&amp;ut=s&amp;enc=c53418ecfe9c3c8d6eb6568ca54ac552&amp;cpi=&amp;openc=" title="讨论">讨论</a></li>
								        							        							    															
								
														
														
														
														
								
														
                            
                            								<li>
                                	<a href="https://mooc1-1.chaoxing.com/mycourse/studentcourse?courseId=214699927&amp;clazzid=32267409&amp;ut=s&amp;enc=c53418ecfe9c3c8d6eb6568ca54ac552&amp;cpi=&amp;openc=&amp;v=2" class="experience" style="border-radius: 30px;font-size:14px;padding:0">体验新版</a>
								</li>
                            						</ul>
					</div>
							</div>
							<h1>
				<span title="【20上】Linux系统编程">
					                        <a href="javascript:;" onclick="$(&#39;#tpsubmit&#39;).submit();">
							【20上】Linux系统编程
                        </a>
									</span>
				<span class="articleschool" style="text-decoration: none;">
					<span title="【20上】Linux系统编程">
						<font color="#333">
							<span title=""></span>
						</font>&nbsp;
													<a href="https://mooc1-1.chaoxing.com/coursestar?courseId=214699927&amp;clazzId=32267409&amp;edit=false">课程评价</a>
											</span>
				</span>
			</h1>
				<form id="tpsubmit" action="https://mooc1-1.chaoxing.com/course/214699927.html" target="_blank" method="post">
							<input type="hidden" name="edit" value="false">
					</form>
	
	</div>
</div>
<input type="hidden" id="cid" value="32267409">

<script>
    if ($(".navshow ul li").length > 11) {
        $(".navshow ul li").css("margin-left", "4px");
        $(".navshow ul li a").css("padding", "2px 5px");
    }
    if ($(".navshow ul li").length == 11) {
        $(".navshow ul li").css("margin-left", "5px");
    }
    $('.navhide span').click(function () {

		$(this).parent().hide(0,function(){
		$('.navshow').show();
		$('.navshow').animate({'margin-right':0 + 'px'},400);
		});
		});
		$('.navshow span').click(function(){
		$('.navhide').show();
		$(this).parent().animate({'margin-right':-980 + 'px'},400,function(){
		});
		}); 
	var hasWorkDot=false;
	var hasExamDot=false;
    var hasCourseDataDot=false;
   //待批作业、待批考试红点数据加载
      var redDot = function(){
        jQuery.ajax({ 
        	type: "get", 
        	url : "/api/workTestPendingNew", 
        	data: {
            		classIds:$("#cid").val()
        		}, 
        	success: function(data){
        	  var json= jQuery.parseJSON(data)[0];
    			if('s'=='s') {
    				if(json.hasWorkMsg){
    				  $(".workTip").css("display","inline-block");
					  hasWorkDot=true;
    				}
    				if(json.hasExamMsg){
    					$(".testTip").css("display","inline-block");
						hasExamDot=true;
    				}
                    if(json.hasCourseDataMsg){
                        $(".cdataTip").css("display","inline-block");
                        hasCourseDataDot=true;
                    }
    			}
    		}
        	
        }); 
      }
  $(function(){
  	var yiji = "";
  	var fuseMode = "";
  	var readyMode = "";
  	
    if ("true" == yiji) {
    	$(".navshow").find("li a").each(function(index, ele){
	    	var type = $(this).attr("mode");
	    	if (type != "yiji") {
				$(this).attr("target", "");
	    		$(this).attr("href", "javascript:;");
	    		$(this).removeAttr("onclick");
	    		$(this).click(function(){
	    			alert("访问高峰时段，此功能暂时关闭");
				});
	    	}
	    });
    } else if ("true" == fuseMode) {
    	$(".navshow").find("li a").each(function(index, ele){
	    	var type = $(this).attr("mode");
	    	if ("fuseMode" == type) {
				$(this).attr("target", "");
	    		$(this).attr("href", "javascript:;");
	    		$(this).removeAttr("onclick");
	    		$(this).click(function(){
	    			alert("访问高峰时段，此功能暂时关闭");
				});
	    	}
	    });
    }
  
    if ('s' == 's' && "true" != readyMode) {
		setTimeout('redDot()',1000);
	}
	
	if($(".navshow ul li").length==1){
		$(".navshow").css("display","none");
	}
  	
  });
  var rmWorkDot = function(classid,type,me){
      if ('work' == type) {
	 	location.href=$(me).attr("data");
		return;
	 }
	 if('exam'==type && !hasExamDot){
	 	location.href=$(me).attr("data");
		return;
	 }
     if('cdata'==type && !hasCourseDataDot){
        location.href=$(me).attr("data");
        return;
     }
     
     jQuery.ajax({ 
        	type: "get",
            dataType: "json", 
        	url : "/api/removeRedDot", 
        	data: {
            		classId:classid,
					type:type
        		}, 
        	success: function(data){
                if(data && data.status){
            		//success
                    location.href=$(me).attr("data");
                }
    		}
        	
        });
        
    //location.href=$(me).attr("data");
  }
  
</script>
			
	<input type="hidden" id="cpi" value="65802072">
	<input type="hidden" id="creatorId" value="65802072">
	
	<div class="wrap1000 clearfix con">
<div class="width1100_smile">
		<div class="radiusBG">
        <div class="CeYan">
        	<div class="CyTop">
				<p class="Reback fr">
					                    <i></i><a href="javascript:void(0)" class="RebackA " onclick="javascript:history.go(-1);" title="返回">返回</a>
                </p>
                <ul class="ul01">
                    <li class="cur" style="border:none;"><a href="javascript:void(0)">Linux基本知识练习-1</a><b></b></li>
                </ul>
            </div>

            <!--做作业开始-->
            <div class="ZyTop" style="position:relative;border:none;padding:0px;">
				<p clsdd="fl" style="font-size:14px;">
                	<img onerror="this.src=&#39;http://fanya.chaoxing.com/public/img/img_person.png&#39;" src="./【20上】Linux系统编程-作业_files/img_person.png" width="24" height="24" class="headimages fl">&nbsp;&nbsp;
                	<span>姓名：<i style="color:#333;">林凯</i></span>&nbsp;&nbsp;
                	<span>班级：<i style="color:#333;">软件工程（卓越计划）[181-3]班,软件工程[1801-14]班</i></span>&nbsp;&nbsp;
    				
    										    								</p>
            </div>
            
      		<div class="ZyBottom" id="ZyBottom">
																
																						                        <div class="Cy_TItle1">
																																					                                <h2>一.单选题<em style="font-size:12px;font-style:normal;">（共22题）</em></h2>
							                        </div>
					

																	
							                    <div class="TiMu" style="position:relative">
	                        <div class="Zy_TItle clearfix">
                                <i class="fl">1</i>
	                            <div class="clearfix" style="line-height: 35px; font-size: 14px;width:870px;">
									<div style="width:80%;height:100%;float:left;">
																																														<p>字符设备文件类型的标志是 (&nbsp; &nbsp;) 。</p>
																																</div>
									<div style="width:20%;height:100%;float:right;">
									
									</div>
								</div>
	                        </div>
                            <!--单选题开始-->
													
								<ul class="Zy_ulTop">
	    								    								    									    									<li class="clearfix"><i class="fl">A、</i><a href="javascript:void(0)" class="fl" style="word-break: break-all;"><p>p</p></a></li>
	    									    								    									    										    										<li class="clearfix"><i class="fl">B、</i><a href="javascript:void(0)" class="fl" style="word-break: break-all;"><p>c</p></a></li>
	    										    									    								    									    									<li class="clearfix"><i class="fl">C、</i><a href="javascript:void(0)" class="fl" style="word-break: break-all;"><p>d</p></a></li>
	    									    								    									    									<li class="clearfix"><i class="fl">D、</i><a href="javascript:void(0)" class="fl" style="word-break: break-all;"><p>b</p></a></li>
	    									    															</ul>
								<div class="Py_answer clearfix">
										    								<span>正确答案： B </span>
																		<span>我的答案：B</span>
									
									
										    									    									<i class="fr dui"></i>
	    								
																				                            </div> 
								
														 <!--显示答案解析-->
														 <!--显示答案解析-->
	                    </div>
	                     <!--单选题结束-->
																							
							                    <div class="TiMu" style="position:relative">
	                        <div class="Zy_TItle clearfix">
                                <i class="fl">2</i>
	                            <div class="clearfix" style="line-height: 35px; font-size: 14px;width:870px;">
									<div style="width:80%;height:100%;float:left;">
																																														<p>LINUX操作系统是一种（　 　　）<br></p>
<p><br></p>
																																</div>
									<div style="width:20%;height:100%;float:right;">
									
									</div>
								</div>
	                        </div>
                            <!--单选题开始-->
													
								<ul class="Zy_ulTop">
	    								    								    									    									<li class="clearfix"><i class="fl">A、</i><a href="javascript:void(0)" class="fl" style="word-break: break-all;"><p style="white-space: normal;">单用户单进程系统</p></a></li>
	    									    								    									    									<li class="clearfix"><i class="fl">B、</i><a href="javascript:void(0)" class="fl" style="word-break: break-all;"><p style="white-space: normal;">多用户单进程系统</p>
<p style="white-space: normal;"><br></p>
<p><br></p></a></li>
	    									    								    									    									<li class="clearfix"><i class="fl">C、</i><a href="javascript:void(0)" class="fl" style="word-break: break-all;"><p>单用户多进程系统</p></a></li>
	    									    								    									    										    										<li class="clearfix"><i class="fl">D、</i><a href="javascript:void(0)" class="fl" style="word-break: break-all;"><p>多用户多进程系统</p></a></li>
	    										    									    															</ul>
								<div class="Py_answer clearfix">
										    								<span>正确答案： D </span>
																		<span>我的答案：D</span>
									
									
										    									    									<i class="fr dui"></i>
	    								
																				                            </div> 
								
														 <!--显示答案解析-->
														 <!--显示答案解析-->
	                    </div>
	                     <!--单选题结束-->
																							
							                    <div class="TiMu" style="position:relative">
	                        <div class="Zy_TItle clearfix">
                                <i class="fl">3</i>
	                            <div class="clearfix" style="line-height: 35px; font-size: 14px;width:870px;">
									<div style="width:80%;height:100%;float:left;">
																																														<p>文件属性读取函数中，依据文件名且当文件是一个符号链接时返回是链接所指向文件的信息的函数是（ ）</p>
																																</div>
									<div style="width:20%;height:100%;float:right;">
									
									</div>
								</div>
	                        </div>
                            <!--单选题开始-->
													
								<ul class="Zy_ulTop">
	    								    								    									    										    										<li class="clearfix"><i class="fl">A、</i><a href="javascript:void(0)" class="fl" style="word-break: break-all;"><p>stat&nbsp; &nbsp; &nbsp;</p></a></li>
	    										    									    								    									    									<li class="clearfix"><i class="fl">B、</i><a href="javascript:void(0)" class="fl" style="word-break: break-all;"><p>lstat&nbsp; &nbsp;</p></a></li>
	    									    								    									    									<li class="clearfix"><i class="fl">C、</i><a href="javascript:void(0)" class="fl" style="word-break: break-all;"><p>fstat&nbsp; &nbsp;&nbsp;</p></a></li>
	    									    								    									    									<li class="clearfix"><i class="fl">D、</i><a href="javascript:void(0)" class="fl" style="word-break: break-all;"><p>都不是</p></a></li>
	    									    															</ul>
								<div class="Py_answer clearfix">
										    								<span>正确答案： A </span>
																		<span>我的答案：A</span>
									
									
										    									    									<i class="fr dui"></i>
	    								
																				                            </div> 
								
														 <!--显示答案解析-->
														 <!--显示答案解析-->
	                    </div>
	                     <!--单选题结束-->
																							
							                    <div class="TiMu" style="position:relative">
	                        <div class="Zy_TItle clearfix">
                                <i class="fl">4</i>
	                            <div class="clearfix" style="line-height: 35px; font-size: 14px;width:870px;">
									<div style="width:80%;height:100%;float:left;">
																																														<p>下列关于操作系统的叙述中，哪一条是不正确的？（&nbsp; &nbsp;）</p>
																																</div>
									<div style="width:20%;height:100%;float:right;">
									
									</div>
								</div>
	                        </div>
                            <!--单选题开始-->
													
								<ul class="Zy_ulTop">
	    								    								    									    									<li class="clearfix"><i class="fl">A、</i><a href="javascript:void(0)" class="fl" style="word-break: break-all;"><p style="white-space: normal;">操作系统管理计算机系统中的各种资源&nbsp; &nbsp; &nbsp;&nbsp;</p></a></li>
	    									    								    									    									<li class="clearfix"><i class="fl">B、</i><a href="javascript:void(0)" class="fl" style="word-break: break-all;"><p style="white-space: normal;">操作系统为用户提供良好的界面</p>
<p style="white-space: normal;"><br></p></a></li>
	    									    								    									    										    										<li class="clearfix"><i class="fl">C、</i><a href="javascript:void(0)" class="fl" style="word-break: break-all;"><p style="white-space: normal;">操作系统与用户程序必须交替运行&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</p></a></li>
	    										    									    								    									    									<li class="clearfix"><i class="fl">D、</i><a href="javascript:void(0)" class="fl" style="word-break: break-all;"><p style="white-space: normal;">操作系统位于各种软件的最底层</p>
<p><br></p></a></li>
	    									    															</ul>
								<div class="Py_answer clearfix">
										    								<span>正确答案： C </span>
																		<span>我的答案：C</span>
									
									
										    									    									<i class="fr dui"></i>
	    								
																				                            </div> 
								
														 <!--显示答案解析-->
														 <!--显示答案解析-->
	                    </div>
	                     <!--单选题结束-->
																							
							                    <div class="TiMu" style="position:relative">
	                        <div class="Zy_TItle clearfix">
                                <i class="fl">5</i>
	                            <div class="clearfix" style="line-height: 35px; font-size: 14px;width:870px;">
									<div style="width:80%;height:100%;float:left;">
																																														<p>文件描述符的数据类型是（）<span style="white-space: pre;"></span></p>
<p><br></p>
<p><strong><span style="font-family: &#39;Times New Roman&#39;;font-size: 14px"></span></strong><br></p>
<p><br></p>
																																</div>
									<div style="width:20%;height:100%;float:right;">
									
									</div>
								</div>
	                        </div>
                            <!--单选题开始-->
													
								<ul class="Zy_ulTop">
	    								    								    									    									<li class="clearfix"><i class="fl">A、</i><a href="javascript:void(0)" class="fl" style="word-break: break-all;"><p>char&nbsp;</p></a></li>
	    									    								    									    										    										<li class="clearfix"><i class="fl">B、</i><a href="javascript:void(0)" class="fl" style="word-break: break-all;"><p>int&nbsp;&nbsp;</p></a></li>
	    										    									    								    									    									<li class="clearfix"><i class="fl">C、</i><a href="javascript:void(0)" class="fl" style="word-break: break-all;"><p>double&nbsp;&nbsp;</p></a></li>
	    									    								    									    									<li class="clearfix"><i class="fl">D、</i><a href="javascript:void(0)" class="fl" style="word-break: break-all;"><p>float</p></a></li>
	    									    															</ul>
								<div class="Py_answer clearfix">
										    								<span>正确答案： B </span>
																		<span>我的答案：B</span>
									
									
										    									    									<i class="fr dui"></i>
	    								
																				                            </div> 
								
														 <!--显示答案解析-->
														 <!--显示答案解析-->
	                    </div>
	                     <!--单选题结束-->
																							
							                    <div class="TiMu" style="position:relative">
	                        <div class="Zy_TItle clearfix">
                                <i class="fl">6</i>
	                            <div class="clearfix" style="line-height: 35px; font-size: 14px;width:870px;">
									<div style="width:80%;height:100%;float:left;">
																																														<p>gcc可以对编译阶段进行控制，其中（ ）选项设定库文件的路径&nbsp;&nbsp;</p>
<p><br></p>
<p><br></p>
																																</div>
									<div style="width:20%;height:100%;float:right;">
									
									</div>
								</div>
	                        </div>
                            <!--单选题开始-->
													
								<ul class="Zy_ulTop">
	    								    								    									    										    										<li class="clearfix"><i class="fl">A、</i><a href="javascript:void(0)" class="fl" style="word-break: break-all;"><p>-L path&nbsp; &nbsp;&nbsp;</p></a></li>
	    										    									    								    									    									<li class="clearfix"><i class="fl">B、</i><a href="javascript:void(0)" class="fl" style="word-break: break-all;"><p>-I path&nbsp; &nbsp;</p></a></li>
	    									    								    									    									<li class="clearfix"><i class="fl">C、</i><a href="javascript:void(0)" class="fl" style="word-break: break-all;"><p>-l library&nbsp; &nbsp;</p></a></li>
	    									    								    									    									<li class="clearfix"><i class="fl">D、</i><a href="javascript:void(0)" class="fl" style="word-break: break-all;"><p>-static</p></a></li>
	    									    															</ul>
								<div class="Py_answer clearfix">
										    								<span>正确答案： A </span>
																		<span>我的答案：A</span>
									
									
										    									    									<i class="fr dui"></i>
	    								
																				                            </div> 
								
														 <!--显示答案解析-->
														 <!--显示答案解析-->
	                    </div>
	                     <!--单选题结束-->
																							
							                    <div class="TiMu" style="position:relative">
	                        <div class="Zy_TItle clearfix">
                                <i class="fl">7</i>
	                            <div class="clearfix" style="line-height: 35px; font-size: 14px;width:870px;">
									<div style="width:80%;height:100%;float:left;">
																																														<p>在Linux底层文件访问中的大多数操作都是围绕文件描述符来展开的其中（ ）函数是内核向进程返回一个文件描述符为以后使用。<br></p>
<p><br></p>
																																</div>
									<div style="width:20%;height:100%;float:right;">
									
									</div>
								</div>
	                        </div>
                            <!--单选题开始-->
													
								<ul class="Zy_ulTop">
	    								    								    									    										    										<li class="clearfix"><i class="fl">A、</i><a href="javascript:void(0)" class="fl" style="word-break: break-all;"><p>open()&nbsp; &nbsp;&nbsp;</p></a></li>
	    										    									    								    									    									<li class="clearfix"><i class="fl">B、</i><a href="javascript:void(0)" class="fl" style="word-break: break-all;"><p>read()&nbsp; &nbsp;</p></a></li>
	    									    								    									    									<li class="clearfix"><i class="fl">C、</i><a href="javascript:void(0)" class="fl" style="word-break: break-all;"><p>write()&nbsp;&nbsp;</p></a></li>
	    									    								    									    									<li class="clearfix"><i class="fl">D、</i><a href="javascript:void(0)" class="fl" style="word-break: break-all;"><p>close()</p></a></li>
	    									    															</ul>
								<div class="Py_answer clearfix">
										    								<span>正确答案： A </span>
																		<span>我的答案：A</span>
									
									
										    									    									<i class="fr dui"></i>
	    								
																				                            </div> 
								
														 <!--显示答案解析-->
														 <!--显示答案解析-->
	                    </div>
	                     <!--单选题结束-->
																							
							                    <div class="TiMu" style="position:relative">
	                        <div class="Zy_TItle clearfix">
                                <i class="fl">8</i>
	                            <div class="clearfix" style="line-height: 35px; font-size: 14px;width:870px;">
									<div style="width:80%;height:100%;float:left;">
																																														<p>下列Linux路径中属于相对路径的是（&nbsp; &nbsp; &nbsp;）</p>
																																</div>
									<div style="width:20%;height:100%;float:right;">
									
									</div>
								</div>
	                        </div>
                            <!--单选题开始-->
													
								<ul class="Zy_ulTop">
	    								    								    									    									<li class="clearfix"><i class="fl">A、</i><a href="javascript:void(0)" class="fl" style="word-break: break-all;"><p style="white-space: normal;">/tmp<span style="white-space: pre;"></span></p></a></li>
	    									    								    									    									<li class="clearfix"><i class="fl">B、</i><a href="javascript:void(0)" class="fl" style="word-break: break-all;"><p style="white-space: normal;">tmp<span style="white-space: pre;"></span></p></a></li>
	    									    								    									    									<li class="clearfix"><i class="fl">C、</i><a href="javascript:void(0)" class="fl" style="word-break: break-all;"><p style="white-space: normal;">.tmp<span style="white-space: pre;"></span></p></a></li>
	    									    								    									    										    										<li class="clearfix"><i class="fl">D、</i><a href="javascript:void(0)" class="fl" style="word-break: break-all;"><p style="white-space: normal;">../tmp</p>
<p><br></p></a></li>
	    										    									    															</ul>
								<div class="Py_answer clearfix">
										    								<span>正确答案： D </span>
																		<span>我的答案：D</span>
									
									
										    									    									<i class="fr dui"></i>
	    								
																				                            </div> 
								
														 <!--显示答案解析-->
														 <!--显示答案解析-->
	                    </div>
	                     <!--单选题结束-->
																							
							                    <div class="TiMu" style="position:relative">
	                        <div class="Zy_TItle clearfix">
                                <i class="fl">9</i>
	                            <div class="clearfix" style="line-height: 35px; font-size: 14px;width:870px;">
									<div style="width:80%;height:100%;float:left;">
																																														<p>在Linux中命令的格式通常为：</p>
<p>command ［option］［arguments］</p>
<p>关于以上的命令格式说法错误的是（&nbsp; &nbsp; ）</p>
<p><br></p>
																																</div>
									<div style="width:20%;height:100%;float:right;">
									
									</div>
								</div>
	                        </div>
                            <!--单选题开始-->
													
								<ul class="Zy_ulTop">
	    								    								    									    									<li class="clearfix"><i class="fl">A、</i><a href="javascript:void(0)" class="fl" style="word-break: break-all;"><p>command代表命令名称</p>
<p><br></p></a></li>
	    									    								    									    									<li class="clearfix"><i class="fl">B、</i><a href="javascript:void(0)" class="fl" style="word-break: break-all;"><p>option是命令的选项，说明对命令的要求</p>
<p><br></p></a></li>
	    									    								    									    									<li class="clearfix"><i class="fl">C、</i><a href="javascript:void(0)" class="fl" style="word-break: break-all;"><p style="white-space: normal;">arguments是命令的参数，描述命令作用的对应<span style="white-space: pre;"></span></p>
<p style="white-space: normal;"><br></p></a></li>
	    									    								    									    										    										<li class="clearfix"><i class="fl">D、</i><a href="javascript:void(0)" class="fl" style="word-break: break-all;"><p style="white-space: normal;">“[]”之中的内容在命令格式中必须具备</p>
<p style="white-space: normal;"><br></p></a></li>
	    										    									    															</ul>
								<div class="Py_answer clearfix">
										    								<span>正确答案： D </span>
																		<span>我的答案：D</span>
									
									
										    									    									<i class="fr dui"></i>
	    								
																				                            </div> 
								
														 <!--显示答案解析-->
														 <!--显示答案解析-->
	                    </div>
	                     <!--单选题结束-->
																							
							                    <div class="TiMu" style="position:relative">
	                        <div class="Zy_TItle clearfix">
                                <i class="fl">10</i>
	                            <div class="clearfix" style="line-height: 35px; font-size: 14px;width:870px;">
									<div style="width:80%;height:100%;float:left;">
																																														<p>Linux文件系统的文件都按其作用分门别类地放在相关的目录中，对于外部设备文件，一般应将其放在（&nbsp; &nbsp; &nbsp;）目录中。</p>
																																</div>
									<div style="width:20%;height:100%;float:right;">
									
									</div>
								</div>
	                        </div>
                            <!--单选题开始-->
													
								<ul class="Zy_ulTop">
	    								    								    									    									<li class="clearfix"><i class="fl">A、</i><a href="javascript:void(0)" class="fl" style="word-break: break-all;"><p>/bin&nbsp; &nbsp;<span style="white-space: pre;"></span>&nbsp;<span style="white-space: pre;"></span>&nbsp;</p></a></li>
	    									    								    									    									<li class="clearfix"><i class="fl">B、</i><a href="javascript:void(0)" class="fl" style="word-break: break-all;"><p>/etc&nbsp; &nbsp; &nbsp;<span style="white-space: pre;"></span></p></a></li>
	    									    								    									    										    										<li class="clearfix"><i class="fl">C、</i><a href="javascript:void(0)" class="fl" style="word-break: break-all;"><p>/dev&nbsp; &nbsp;&nbsp;<span style="white-space: pre;"></span></p></a></li>
	    										    									    								    									    									<li class="clearfix"><i class="fl">D、</i><a href="javascript:void(0)" class="fl" style="word-break: break-all;"><p>/lib&nbsp;</p></a></li>
	    									    															</ul>
								<div class="Py_answer clearfix">
										    								<span>正确答案： C </span>
																		<span>我的答案：C</span>
									
									
										    									    									<i class="fr dui"></i>
	    								
																				                            </div> 
								
														 <!--显示答案解析-->
														 <!--显示答案解析-->
	                    </div>
	                     <!--单选题结束-->
																							
							                    <div class="TiMu" style="position:relative">
	                        <div class="Zy_TItle clearfix">
                                <i class="fl">11</i>
	                            <div class="clearfix" style="line-height: 35px; font-size: 14px;width:870px;">
									<div style="width:80%;height:100%;float:left;">
																																														<p>某文件的组外成员的权限为只读；所有者有全部权限；组内的权限为读与写，则该文件的权限为（&nbsp; &nbsp; &nbsp;）。</p>
																																</div>
									<div style="width:20%;height:100%;float:right;">
									
									</div>
								</div>
	                        </div>
                            <!--单选题开始-->
													
								<ul class="Zy_ulTop">
	    								    								    									    									<li class="clearfix"><i class="fl">A、</i><a href="javascript:void(0)" class="fl" style="word-break: break-all;"><p>&nbsp;467&nbsp; &nbsp;&nbsp;<span style="white-space: pre;"></span></p></a></li>
	    									    								    									    									<li class="clearfix"><i class="fl">B、</i><a href="javascript:void(0)" class="fl" style="word-break: break-all;"><p>674&nbsp; &nbsp; &nbsp;<span style="white-space: pre;"></span></p></a></li>
	    									    								    									    									<li class="clearfix"><i class="fl">C、</i><a href="javascript:void(0)" class="fl" style="word-break: break-all;"><p>476&nbsp; &nbsp; &nbsp;<span style="white-space: pre;"></span></p></a></li>
	    									    								    									    										    										<li class="clearfix"><i class="fl">D、</i><a href="javascript:void(0)" class="fl" style="word-break: break-all;"><p>764</p></a></li>
	    										    									    															</ul>
								<div class="Py_answer clearfix">
										    								<span>正确答案： D </span>
																		<span>我的答案：D</span>
									
									
										    									    									<i class="fr dui"></i>
	    								
																				                            </div> 
								
														 <!--显示答案解析-->
														 <!--显示答案解析-->
	                    </div>
	                     <!--单选题结束-->
																							
							                    <div class="TiMu" style="position:relative">
	                        <div class="Zy_TItle clearfix">
                                <i class="fl">12</i>
	                            <div class="clearfix" style="line-height: 35px; font-size: 14px;width:870px;">
									<div style="width:80%;height:100%;float:left;">
																																														<p>Linux的发展始于（&nbsp; &nbsp; ）年，它是有（&nbsp; &nbsp; ）的一名大学生开发的。</p>
<p><br></p>
																																</div>
									<div style="width:20%;height:100%;float:right;">
									
									</div>
								</div>
	                        </div>
                            <!--单选题开始-->
													
								<ul class="Zy_ulTop">
	    								    								    									    									<li class="clearfix"><i class="fl">A、</i><a href="javascript:void(0)" class="fl" style="word-break: break-all;"><p>1990、芬兰&nbsp; &nbsp;</p></a></li>
	    									    								    									    										    										<li class="clearfix"><i class="fl">B、</i><a href="javascript:void(0)" class="fl" style="word-break: break-all;"><p>1991、芬兰&nbsp; &nbsp;</p></a></li>
	    										    									    								    									    									<li class="clearfix"><i class="fl">C、</i><a href="javascript:void(0)" class="fl" style="word-break: break-all;"><p>1993、美国&nbsp; &nbsp;</p></a></li>
	    									    								    									    									<li class="clearfix"><i class="fl">D、</i><a href="javascript:void(0)" class="fl" style="word-break: break-all;"><p>1991、波兰&nbsp;</p></a></li>
	    									    															</ul>
								<div class="Py_answer clearfix">
										    								<span>正确答案： B </span>
																		<span>我的答案：A</span>
									
									
										    									    									 <i class="fr cuo"></i>
										
																				                            </div> 
								
														 <!--显示答案解析-->
														 <!--显示答案解析-->
	                    </div>
	                     <!--单选题结束-->
																							
							                    <div class="TiMu" style="position:relative">
	                        <div class="Zy_TItle clearfix">
                                <i class="fl">13</i>
	                            <div class="clearfix" style="line-height: 35px; font-size: 14px;width:870px;">
									<div style="width:80%;height:100%;float:left;">
																																														<p>下列函数中可关闭文件的函数（ ）</p>
<p><br></p>
<p><br></p>
																																</div>
									<div style="width:20%;height:100%;float:right;">
									
									</div>
								</div>
	                        </div>
                            <!--单选题开始-->
													
								<ul class="Zy_ulTop">
	    								    								    									    										    										<li class="clearfix"><i class="fl">A、</i><a href="javascript:void(0)" class="fl" style="word-break: break-all;"><p>close()&nbsp; &nbsp;&nbsp;</p></a></li>
	    										    									    								    									    									<li class="clearfix"><i class="fl">B、</i><a href="javascript:void(0)" class="fl" style="word-break: break-all;"><p>dup2()&nbsp; &nbsp;</p></a></li>
	    									    								    									    									<li class="clearfix"><i class="fl">C、</i><a href="javascript:void(0)" class="fl" style="word-break: break-all;"><p>A和B都可以&nbsp; &nbsp;</p></a></li>
	    									    								    									    									<li class="clearfix"><i class="fl">D、</i><a href="javascript:void(0)" class="fl" style="word-break: break-all;"><p>dup()</p></a></li>
	    									    															</ul>
								<div class="Py_answer clearfix">
										    								<span>正确答案： A </span>
																		<span>我的答案：A</span>
									
									
										    									    									<i class="fr dui"></i>
	    								
																				                            </div> 
								
														 <!--显示答案解析-->
														 <!--显示答案解析-->
	                    </div>
	                     <!--单选题结束-->
																							
							                    <div class="TiMu" style="position:relative">
	                        <div class="Zy_TItle clearfix">
                                <i class="fl">14</i>
	                            <div class="clearfix" style="line-height: 35px; font-size: 14px;width:870px;">
									<div style="width:80%;height:100%;float:left;">
																																														<p>下面说法错误的是(&nbsp; &nbsp; &nbsp;)</p>
<p><br></p>
<p><br></p>
																																</div>
									<div style="width:20%;height:100%;float:right;">
									
									</div>
								</div>
	                        </div>
                            <!--单选题开始-->
													
								<ul class="Zy_ulTop">
	    								    								    									    									<li class="clearfix"><i class="fl">A、</i><a href="javascript:void(0)" class="fl" style="word-break: break-all;"><p style="white-space: normal;">Linux操作系统不限制应用程序可用内存的大小</p>
<p style="white-space: normal;"><br></p></a></li>
	    									    								    									    									<li class="clearfix"><i class="fl">B、</i><a href="javascript:void(0)" class="fl" style="word-break: break-all;"><p style="white-space: normal;">Linux操作系统是免费软件，可以通过网络下载。&nbsp;</p>
<p style="white-space: normal;"><br></p></a></li>
	    									    								    									    									<li class="clearfix"><i class="fl">C、</i><a href="javascript:void(0)" class="fl" style="word-break: break-all;"><p style="white-space: normal;">Linux操作系统部分符合UNIX标准，可以将Linux上完成的程序经过重新修改后移植到UNIX主机上运行。</p>
<p style="white-space: normal;"><br></p></a></li>
	    									    								    									    										    										<li class="clearfix"><i class="fl">D、</i><a href="javascript:void(0)" class="fl" style="word-break: break-all;"><p style="white-space: normal;">Linux操作系统支持多用户，在同一时间可以有多个用户使用主机</p>
<p><br></p></a></li>
	    										    									    															</ul>
								<div class="Py_answer clearfix">
										    								<span>正确答案： D </span>
																		<span>我的答案：A</span>
									
									
										    									    									 <i class="fr cuo"></i>
										
																				                            </div> 
								
														 <!--显示答案解析-->
														 <!--显示答案解析-->
	                    </div>
	                     <!--单选题结束-->
																							
							                    <div class="TiMu" style="position:relative">
	                        <div class="Zy_TItle clearfix">
                                <i class="fl">15</i>
	                            <div class="clearfix" style="line-height: 35px; font-size: 14px;width:870px;">
									<div style="width:80%;height:100%;float:left;">
																																														<p>gcc可以对编译阶段进行控制，其中（）选项在可执行文件中包含标准调试信息，供gdb进行调试。</p>
<p><br></p>
<p><br></p>
																																</div>
									<div style="width:20%;height:100%;float:right;">
									
									</div>
								</div>
	                        </div>
                            <!--单选题开始-->
													
								<ul class="Zy_ulTop">
	    								    								    									    									<li class="clearfix"><i class="fl">A、</i><a href="javascript:void(0)" class="fl" style="word-break: break-all;"><p>-Wall&nbsp; &nbsp;&nbsp;</p></a></li>
	    									    								    									    									<li class="clearfix"><i class="fl">B、</i><a href="javascript:void(0)" class="fl" style="word-break: break-all;"><p>-Werror&nbsp; &nbsp;</p></a></li>
	    									    								    									    									<li class="clearfix"><i class="fl">C、</i><a href="javascript:void(0)" class="fl" style="word-break: break-all;"><p>-w&nbsp; &nbsp;</p></a></li>
	    									    								    									    										    										<li class="clearfix"><i class="fl">D、</i><a href="javascript:void(0)" class="fl" style="word-break: break-all;"><p>-g</p></a></li>
	    										    									    															</ul>
								<div class="Py_answer clearfix">
										    								<span>正确答案： D </span>
																		<span>我的答案：D</span>
									
									
										    									    									<i class="fr dui"></i>
	    								
																				                            </div> 
								
														 <!--显示答案解析-->
														 <!--显示答案解析-->
	                    </div>
	                     <!--单选题结束-->
																							
							                    <div class="TiMu" style="position:relative">
	                        <div class="Zy_TItle clearfix">
                                <i class="fl">16</i>
	                            <div class="clearfix" style="line-height: 35px; font-size: 14px;width:870px;">
									<div style="width:80%;height:100%;float:left;">
																																														<p>lseek()中第三个参数的值为0表示（ ）<br></p>
<p><br></p>
																																</div>
									<div style="width:20%;height:100%;float:right;">
									
									</div>
								</div>
	                        </div>
                            <!--单选题开始-->
													
								<ul class="Zy_ulTop">
	    								    								    									    										    										<li class="clearfix"><i class="fl">A、</i><a href="javascript:void(0)" class="fl" style="word-break: break-all;"><p style="white-space: normal;">文件开始位置&nbsp; &nbsp;</p>
<p><br></p></a></li>
	    										    									    								    									    									<li class="clearfix"><i class="fl">B、</i><a href="javascript:void(0)" class="fl" style="word-break: break-all;"><p>文件读写指针当前位置&nbsp; &nbsp;</p></a></li>
	    									    								    									    									<li class="clearfix"><i class="fl">C、</i><a href="javascript:void(0)" class="fl" style="word-break: break-all;"><p>文件结束位置&nbsp; &nbsp;&nbsp;</p></a></li>
	    									    								    									    									<li class="clearfix"><i class="fl">D、</i><a href="javascript:void(0)" class="fl" style="word-break: break-all;"><p>都不是</p></a></li>
	    									    															</ul>
								<div class="Py_answer clearfix">
										    								<span>正确答案： A </span>
																		<span>我的答案：A</span>
									
									
										    									    									<i class="fr dui"></i>
	    								
																				                            </div> 
								
														 <!--显示答案解析-->
														 <!--显示答案解析-->
	                    </div>
	                     <!--单选题结束-->
																							
							                    <div class="TiMu" style="position:relative">
	                        <div class="Zy_TItle clearfix">
                                <i class="fl">17</i>
	                            <div class="clearfix" style="line-height: 35px; font-size: 14px;width:870px;">
									<div style="width:80%;height:100%;float:left;">
																																														<p>内核不包括的子系统是（&nbsp; &nbsp;） 。<br></p>
<p><br></p>
<p><br></p>
																																</div>
									<div style="width:20%;height:100%;float:right;">
									
									</div>
								</div>
	                        </div>
                            <!--单选题开始-->
													
								<ul class="Zy_ulTop">
	    								    								    									    									<li class="clearfix"><i class="fl">A、</i><a href="javascript:void(0)" class="fl" style="word-break: break-all;"><p>进程管理系统&nbsp; &nbsp;&nbsp;</p></a></li>
	    									    								    									    									<li class="clearfix"><i class="fl">B、</i><a href="javascript:void(0)" class="fl" style="word-break: break-all;"><p>内存管理系统&nbsp; &nbsp;&nbsp;</p></a></li>
	    									    								    									    									<li class="clearfix"><i class="fl">C、</i><a href="javascript:void(0)" class="fl" style="word-break: break-all;"><p>I/O管理系统&nbsp; &nbsp; &nbsp;</p></a></li>
	    									    								    									    										    										<li class="clearfix"><i class="fl">D、</i><a href="javascript:void(0)" class="fl" style="word-break: break-all;"><p>硬件管理系统</p></a></li>
	    										    									    															</ul>
								<div class="Py_answer clearfix">
										    								<span>正确答案： D </span>
																		<span>我的答案：D</span>
									
									
										    									    									<i class="fr dui"></i>
	    								
																				                            </div> 
								
														 <!--显示答案解析-->
														 <!--显示答案解析-->
	                    </div>
	                     <!--单选题结束-->
																							
							                    <div class="TiMu" style="position:relative">
	                        <div class="Zy_TItle clearfix">
                                <i class="fl">18</i>
	                            <div class="clearfix" style="line-height: 35px; font-size: 14px;width:870px;">
									<div style="width:80%;height:100%;float:left;">
																																														<p>gcc可以对编译阶段进行控制，其中（）选项规定编译到汇编语言，不进行其他操作。</p>
																																</div>
									<div style="width:20%;height:100%;float:right;">
									
									</div>
								</div>
	                        </div>
                            <!--单选题开始-->
													
								<ul class="Zy_ulTop">
	    								    								    									    									<li class="clearfix"><i class="fl">A、</i><a href="javascript:void(0)" class="fl" style="word-break: break-all;"><p>-E&nbsp; &nbsp;&nbsp;</p></a></li>
	    									    								    									    										    										<li class="clearfix"><i class="fl">B、</i><a href="javascript:void(0)" class="fl" style="word-break: break-all;"><p>-S&nbsp; &nbsp;&nbsp;</p></a></li>
	    										    									    								    									    									<li class="clearfix"><i class="fl">C、</i><a href="javascript:void(0)" class="fl" style="word-break: break-all;"><p>-c&nbsp; &nbsp;</p></a></li>
	    									    								    									    									<li class="clearfix"><i class="fl">D、</i><a href="javascript:void(0)" class="fl" style="word-break: break-all;"><p>-o</p></a></li>
	    									    															</ul>
								<div class="Py_answer clearfix">
										    								<span>正确答案： B </span>
																		<span>我的答案：B</span>
									
									
										    									    									<i class="fr dui"></i>
	    								
																				                            </div> 
								
														 <!--显示答案解析-->
														 <!--显示答案解析-->
	                    </div>
	                     <!--单选题结束-->
																							
							                    <div class="TiMu" style="position:relative">
	                        <div class="Zy_TItle clearfix">
                                <i class="fl">19</i>
	                            <div class="clearfix" style="line-height: 35px; font-size: 14px;width:870px;">
									<div style="width:80%;height:100%;float:left;">
																																														<p>用命令ls -al显示出文件ff的描述如下所示，由此可知文件ff的类型为（） 。<br></p>
<p>-rwxr-xr-- 1 root root 599 Cec 10 17:12 ff</p>
																																</div>
									<div style="width:20%;height:100%;float:right;">
									
									</div>
								</div>
	                        </div>
                            <!--单选题开始-->
													
								<ul class="Zy_ulTop">
	    								    								    									    										    										<li class="clearfix"><i class="fl">A、</i><a href="javascript:void(0)" class="fl" style="word-break: break-all;"><p>普通文件&nbsp;</p></a></li>
	    										    									    								    									    									<li class="clearfix"><i class="fl">B、</i><a href="javascript:void(0)" class="fl" style="word-break: break-all;"><p>硬链接&nbsp;</p></a></li>
	    									    								    									    									<li class="clearfix"><i class="fl">C、</i><a href="javascript:void(0)" class="fl" style="word-break: break-all;"><p>目录&nbsp;</p></a></li>
	    									    								    									    									<li class="clearfix"><i class="fl">D、</i><a href="javascript:void(0)" class="fl" style="word-break: break-all;"><p>符号链接</p></a></li>
	    									    															</ul>
								<div class="Py_answer clearfix">
										    								<span>正确答案： A </span>
																		<span>我的答案：A</span>
									
									
										    									    									<i class="fr dui"></i>
	    								
																				                            </div> 
								
														 <!--显示答案解析-->
														 <!--显示答案解析-->
	                    </div>
	                     <!--单选题结束-->
																							
							                    <div class="TiMu" style="position:relative">
	                        <div class="Zy_TItle clearfix">
                                <i class="fl">20</i>
	                            <div class="clearfix" style="line-height: 35px; font-size: 14px;width:870px;">
									<div style="width:80%;height:100%;float:left;">
																																														<p>Linux 中权限最大的账户是（&nbsp; &nbsp; &nbsp;）。<br></p>
<p><br></p>
																																</div>
									<div style="width:20%;height:100%;float:right;">
									
									</div>
								</div>
	                        </div>
                            <!--单选题开始-->
													
								<ul class="Zy_ulTop">
	    								    								    									    									<li class="clearfix"><i class="fl">A、</i><a href="javascript:void(0)" class="fl" style="word-break: break-all;"><p>admin&nbsp; &nbsp;&nbsp;<span style="white-space: pre;"></span></p></a></li>
	    									    								    									    										    										<li class="clearfix"><i class="fl">B、</i><a href="javascript:void(0)" class="fl" style="word-break: break-all;"><p>root&nbsp;&nbsp;<span style="white-space: pre;"></span></p></a></li>
	    										    									    								    									    									<li class="clearfix"><i class="fl">C、</i><a href="javascript:void(0)" class="fl" style="word-break: break-all;"><p>guest&nbsp; &nbsp;<span style="white-space: pre;"></span></p></a></li>
	    									    								    									    									<li class="clearfix"><i class="fl">D、</i><a href="javascript:void(0)" class="fl" style="word-break: break-all;"><p>super&nbsp;</p></a></li>
	    									    															</ul>
								<div class="Py_answer clearfix">
										    								<span>正确答案： B </span>
																		<span>我的答案：B</span>
									
									
										    									    									<i class="fr dui"></i>
	    								
																				                            </div> 
								
														 <!--显示答案解析-->
														 <!--显示答案解析-->
	                    </div>
	                     <!--单选题结束-->
																							
							                    <div class="TiMu" style="position:relative">
	                        <div class="Zy_TItle clearfix">
                                <i class="fl">21</i>
	                            <div class="clearfix" style="line-height: 35px; font-size: 14px;width:870px;">
									<div style="width:80%;height:100%;float:left;">
																																														<p>Linux文件权限中保存了（&nbsp; &nbsp; ）信息。</p>
																																</div>
									<div style="width:20%;height:100%;float:right;">
									
									</div>
								</div>
	                        </div>
                            <!--单选题开始-->
													
								<ul class="Zy_ulTop">
	    								    								    									    									<li class="clearfix"><i class="fl">A、</i><a href="javascript:void(0)" class="fl" style="word-break: break-all;"><p style="white-space: normal;">文件所有者的权限&nbsp; &nbsp; &nbsp;</p></a></li>
	    									    								    									    									<li class="clearfix"><i class="fl">B、</i><a href="javascript:void(0)" class="fl" style="word-break: break-all;"><p style="white-space: normal;">文件所有者所在组的权限&nbsp; &nbsp; &nbsp;</p>
<p style="white-space: normal;"><br></p></a></li>
	    									    								    									    									<li class="clearfix"><i class="fl">C、</i><a href="javascript:void(0)" class="fl" style="word-break: break-all;"><p style="white-space: normal;">其他用户的权限&nbsp; &nbsp; &nbsp; &nbsp;</p></a></li>
	    									    								    									    										    										<li class="clearfix"><i class="fl">D、</i><a href="javascript:void(0)" class="fl" style="word-break: break-all;"><p style="white-space: normal;">以上都包括</p>
<p><br></p></a></li>
	    										    									    															</ul>
								<div class="Py_answer clearfix">
										    								<span>正确答案： D </span>
																		<span>我的答案：D</span>
									
									
										    									    									<i class="fr dui"></i>
	    								
																				                            </div> 
								
														 <!--显示答案解析-->
														 <!--显示答案解析-->
	                    </div>
	                     <!--单选题结束-->
																							
							                    <div class="TiMu" style="position:relative">
	                        <div class="Zy_TItle clearfix">
                                <i class="fl">22</i>
	                            <div class="clearfix" style="line-height: 35px; font-size: 14px;width:870px;">
									<div style="width:80%;height:100%;float:left;">
																																														<p>利用文件属性读取函数获取的st_mode进行文件类型测试方法正确的是 （）<br></p>
<p><br></p>
<p><br></p>
																																</div>
									<div style="width:20%;height:100%;float:right;">
									
									</div>
								</div>
	                        </div>
                            <!--单选题开始-->
													
								<ul class="Zy_ulTop">
	    								    								    									    									<li class="clearfix"><i class="fl">A、</i><a href="javascript:void(0)" class="fl" style="word-break: break-all;"><p style="white-space: normal;">对成员st_mode同文件类型掩码进行与运算&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</p></a></li>
	    									    								    									    									<li class="clearfix"><i class="fl">B、</i><a href="javascript:void(0)" class="fl" style="word-break: break-all;"><p style="white-space: normal;">对成员st_mode直接判断</p>
<p style="white-space: normal;"><br></p></a></li>
	    									    								    									    									<li class="clearfix"><i class="fl">C、</i><a href="javascript:void(0)" class="fl" style="word-break: break-all;"><p style="white-space: normal;">利用带成员st_mode参数宏（用于文件类型判断）定义&nbsp; &nbsp;</p></a></li>
	    									    								    									    										    										<li class="clearfix"><i class="fl">D、</i><a href="javascript:void(0)" class="fl" style="word-break: break-all;"><p style="white-space: normal;">A和C都可以</p>
<p><br></p></a></li>
	    										    									    															</ul>
								<div class="Py_answer clearfix">
										    								<span>正确答案： D </span>
																		<span>我的答案：D</span>
									
									
										    									    									<i class="fr dui"></i>
	    								
																				                            </div> 
								
														 <!--显示答案解析-->
														 <!--显示答案解析-->
	                    </div>
	                     <!--单选题结束-->
																									                        <div class="Cy_TItle1">
																																					                                <h2>二.填空题<em style="font-size:12px;font-style:normal;">（共3题）</em></h2>
							                        </div>
					

																	
							                    <div class="TiMu" style="position:relative">
	                        <div class="Zy_TItle clearfix">
                                <i class="fl">1</i>
	                            <div class="clearfix" style="line-height: 35px; font-size: 14px;width:870px;">
									<div style="width:80%;height:100%;float:left;">
																																														<p>以下程序是实现文件的拷贝，源文件和目标文件名都由命令行传入。程序的具体要求见文件说明，填入相应代码。</p><p>#include &lt;string.h&gt;</p><p>#include &lt;strings.h&gt;</p><p>#include &lt;stdio.h&gt;</p><p>#include &lt;stdlib.h&gt;</p><p>#define BUFFER_SIZE 1024&nbsp;</p><p>int main(int argc,char **argv)&nbsp;</p><p>{&nbsp;</p><p><span style="white-space:pre"></span>FILE *from_fd;</p><p><span style="white-space:pre"></span>FILE *to_fd;&nbsp;</p><p><span style="white-space:pre"></span>long file_len=0;</p><p><span style="white-space:pre"></span>char buffer[BUFFER_SIZE];&nbsp;</p><p><span style="white-space:pre"></span>char *ptr;&nbsp;</p><p><span style="white-space:pre"></span></p><p><span style="white-space:pre"></span>/*判断入参*/</p><p><span style="white-space:pre"></span>if(__1__)&nbsp;</p><p><span style="white-space:pre"></span>{&nbsp;</p><p><span style="white-space:pre"></span>printf("Usage:%s fromfile tofile\n",argv[0]);&nbsp;</p><p><span style="white-space:pre"></span>exit(1);&nbsp;</p><p><span style="white-space:pre"></span>}&nbsp;</p><p><br></p><p>/* 打开源文件 */&nbsp;</p><p>if((from_fd=fopen(__2__,__3__))==NULL)&nbsp;</p><p>{&nbsp;</p><p><span style="white-space:pre"></span>printf("Open %s Error\n",argv[1]);&nbsp;</p><p><span style="white-space:pre"></span>exit(1);&nbsp;</p><p>}&nbsp;</p><p><br></p><p>/* 创建目的文件 */&nbsp;</p><p>if((to_fd=fopen(__4__,__5__))==NULL)&nbsp;</p><p>{&nbsp;</p><p><span style="white-space:pre"></span>printf("Open %s Error\n",argv[2]);&nbsp;</p><p><span style="white-space:pre"></span>exit(1);&nbsp;</p><p>}&nbsp;</p><p><br></p><p>/*测得文件大小*/</p><p>fseek(__6__,__7__,__8__);</p><p>file_len=ftell(from_fd);</p><p>fseek(from_fd,0L,SEEK_SET);</p><p>printf("from file size is=%d\n",file_len);</p><p><br></p><p>/*进行文件拷贝*/</p><p>while(!feof(__9__))&nbsp;</p><p>{&nbsp;</p><p>&nbsp; &nbsp; &nbsp; &nbsp; /*从文件复制数据进入缓存*/</p><p><span style="white-space:pre"></span>fread(__10__,__11__,__12__,__13__);</p><p><span style="white-space:pre"></span>if(BUFFER_SIZE&gt;=file_len)</p><p><span style="white-space:pre"></span>{</p><p><span style="white-space:pre"></span>&nbsp; &nbsp;/*从缓存将数据写入文件*/</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;fwrite(__14__,__15__,__16__,__17__);</p><p><span style="white-space:pre"></span>}</p><p><span style="white-space:pre"></span>else&nbsp;</p><p><span style="white-space:pre"></span>{</p><p><span style="white-space:pre"></span>fwrite(__14__,__15__,__16__,__17__);</p><p><span style="white-space:pre"></span>file_len=file_len-BUFFER_SIZE;</p><p><span style="white-space:pre"></span>}</p><p><span style="white-space:pre"></span>//写入完成后清空缓冲区</p><p><span style="white-space:pre"></span>memset(__18__,__19__,__20__);</p><p>}&nbsp;</p><p>fclose(from_fd);&nbsp;</p><p>fclose(to_fd);&nbsp;</p><p>exit(0);&nbsp;</p><p>}</p><p><br></p>
																																</div>
									<div style="width:20%;height:100%;float:right;">
									
									</div>
								</div>
	                        </div>
                            <!--单选题开始-->
															    								 <div class="Py_tk">
                                        <p><a href="javascript:void(0)" class="blue font14" title="">正确答案：</a></p>
                                        <div>
										    																					<span class="font14">
												<i class="fb red fl">第一空：&nbsp;</i>
            									<div class="clearfix" style="750px;">
                    								<p>argc!=3</p>
                    							</div>
											</span>
    																					<span class="font14">
												<i class="fb red fl">第二空：&nbsp;</i>
            									<div class="clearfix" style="750px;">
                    								<p>argv[1]</p>
                    							</div>
											</span>
    																					<span class="font14">
												<i class="fb red fl">第三空：&nbsp;</i>
            									<div class="clearfix" style="750px;">
                    								<p>"rb"</p>
                    							</div>
											</span>
    																					<span class="font14">
												<i class="fb red fl">第四空：&nbsp;</i>
            									<div class="clearfix" style="750px;">
                    								<p>argv[2]</p>
                    							</div>
											</span>
    																					<span class="font14">
												<i class="fb red fl">第五空：&nbsp;</i>
            									<div class="clearfix" style="750px;">
                    								<p>"wb"</p>
                    							</div>
											</span>
    																					<span class="font14">
												<i class="fb red fl">第六空：&nbsp;</i>
            									<div class="clearfix" style="750px;">
                    								<p>from_fd</p>
                    							</div>
											</span>
    																					<span class="font14">
												<i class="fb red fl">第七空：&nbsp;</i>
            									<div class="clearfix" style="750px;">
                    								<p>0L</p>
                    							</div>
											</span>
    																					<span class="font14">
												<i class="fb red fl">第八空：&nbsp;</i>
            									<div class="clearfix" style="750px;">
                    								<p>SEEK_END</p>
                    							</div>
											</span>
    																					<span class="font14">
												<i class="fb red fl">第九空：&nbsp;</i>
            									<div class="clearfix" style="750px;">
                    								<p>from_fd</p>
                    							</div>
											</span>
    																					<span class="font14">
												<i class="fb red fl">第十空：&nbsp;</i>
            									<div class="clearfix" style="750px;">
                    								<p>buffer</p>
                    							</div>
											</span>
    																					<span class="font14">
												<i class="fb red fl">第十一空：&nbsp;</i>
            									<div class="clearfix" style="750px;">
                    								<p>BUFFER_SIZE</p>
                    							</div>
											</span>
    																					<span class="font14">
												<i class="fb red fl">第十二空：&nbsp;</i>
            									<div class="clearfix" style="750px;">
                    								<p>1</p>
                    							</div>
											</span>
    																					<span class="font14">
												<i class="fb red fl">第十三空：&nbsp;</i>
            									<div class="clearfix" style="750px;">
                    								<p>from_fd</p>
                    							</div>
											</span>
    																					<span class="font14">
												<i class="fb red fl">第十四空：&nbsp;</i>
            									<div class="clearfix" style="750px;">
                    								<p>buffer</p>
                    							</div>
											</span>
    																					<span class="font14">
												<i class="fb red fl">第十五空：&nbsp;</i>
            									<div class="clearfix" style="750px;">
                    								<p>file_len</p>
                    							</div>
											</span>
    																					<span class="font14">
												<i class="fb red fl">第十六空：&nbsp;</i>
            									<div class="clearfix" style="750px;">
                    								<p>1</p>
                    							</div>
											</span>
    																					<span class="font14">
												<i class="fb red fl">第十七空：&nbsp;</i>
            									<div class="clearfix" style="750px;">
                    								<p>to_fd</p>
                    							</div>
											</span>
    																					<span class="font14">
												<i class="fb red fl">第十八空：&nbsp;</i>
            									<div class="clearfix" style="750px;">
                    								<p>buffer</p>
                    							</div>
											</span>
    																					<span class="font14">
												<i class="fb red fl">第十九空：&nbsp;</i>
            									<div class="clearfix" style="750px;">
                    								<p>0</p>
                    							</div>
											</span>
    																					<span class="font14">
												<i class="fb red fl">第二十空：&nbsp;</i>
            									<div class="clearfix" style="750px;">
                    								<p>BUFFER_SIZE</p>
                    							</div>
											</span>
    																				                                        </div>
                                    </div>
																<div class="Py_answer clearfix">
	                                <p class="font14">我的答案：
																			</p>
	                                <div>
											    																					<div class="font14">
													<i class="fb red fl">第一空：&nbsp;</i>
													<div style="font-size: 14px;" class="clearfix">
	            											            										<p>argc!=3</p> 
	                                                   														   															                                                                      <i class="fr dui"></i>
															   														   	                                                   	            									</div>
												</div>
	    																					<div class="font14">
													<i class="fb red fl">第二空：&nbsp;</i>
													<div style="font-size: 14px;" class="clearfix">
	            											            										<p>argv[1]</p> 
	                                                   														   															                                                                      <i class="fr dui"></i>
															   														   	                                                   	            									</div>
												</div>
	    																					<div class="font14">
													<i class="fb red fl">第三空：&nbsp;</i>
													<div style="font-size: 14px;" class="clearfix">
	            											            										<p>\"rb\"</p> 
	                                                   														   															                                                                      <i class="fr dui"></i>
															   														   	                                                   	            									</div>
												</div>
	    																					<div class="font14">
													<i class="fb red fl">第四空：&nbsp;</i>
													<div style="font-size: 14px;" class="clearfix">
	            											            										<p>argv[2]</p> 
	                                                   														   															                                                                      <i class="fr dui"></i>
															   														   	                                                   	            									</div>
												</div>
	    																					<div class="font14">
													<i class="fb red fl">第五空：&nbsp;</i>
													<div style="font-size: 14px;" class="clearfix">
	            											            										<p>\"wb\"</p> 
	                                                   														   															                                                                      <i class="fr dui"></i>
															   														   	                                                   	            									</div>
												</div>
	    																					<div class="font14">
													<i class="fb red fl">第六空：&nbsp;</i>
													<div style="font-size: 14px;" class="clearfix">
	            											            										<p>from_df</p> 
	                                                   														   															                                                                      <i class="fr cuo"></i>
															   														   	                                                   	            									</div>
												</div>
	    																					<div class="font14">
													<i class="fb red fl">第七空：&nbsp;</i>
													<div style="font-size: 14px;" class="clearfix">
	            											            										<p>0L</p> 
	                                                   														   															                                                                      <i class="fr dui"></i>
															   														   	                                                   	            									</div>
												</div>
	    																					<div class="font14">
													<i class="fb red fl">第八空：&nbsp;</i>
													<div style="font-size: 14px;" class="clearfix">
	            											            										<p>SEEK_END</p> 
	                                                   														   															                                                                      <i class="fr dui"></i>
															   														   	                                                   	            									</div>
												</div>
	    																					<div class="font14">
													<i class="fb red fl">第九空：&nbsp;</i>
													<div style="font-size: 14px;" class="clearfix">
	            											            										<p>from_fd</p> 
	                                                   														   															                                                                      <i class="fr dui"></i>
															   														   	                                                   	            									</div>
												</div>
	    																					<div class="font14">
													<i class="fb red fl">第十空：&nbsp;</i>
													<div style="font-size: 14px;" class="clearfix">
	            											            										<p>buffer</p> 
	                                                   														   															                                                                      <i class="fr dui"></i>
															   														   	                                                   	            									</div>
												</div>
	    																					<div class="font14">
													<i class="fb red fl">第十一空：&nbsp;</i>
													<div style="font-size: 14px;" class="clearfix">
	            											            										<p>BUFFER_SIZE</p> 
	                                                   														   															                                                                      <i class="fr dui"></i>
															   														   	                                                   	            									</div>
												</div>
	    																					<div class="font14">
													<i class="fb red fl">第十二空：&nbsp;</i>
													<div style="font-size: 14px;" class="clearfix">
	            											            										<p>1</p> 
	                                                   														   															                                                                      <i class="fr dui"></i>
															   														   	                                                   	            									</div>
												</div>
	    																					<div class="font14">
													<i class="fb red fl">第十三空：&nbsp;</i>
													<div style="font-size: 14px;" class="clearfix">
	            											            										<p>from_fd</p> 
	                                                   														   															                                                                      <i class="fr dui"></i>
															   														   	                                                   	            									</div>
												</div>
	    																					<div class="font14">
													<i class="fb red fl">第十四空：&nbsp;</i>
													<div style="font-size: 14px;" class="clearfix">
	            											            										<p>buffer</p> 
	                                                   														   															                                                                      <i class="fr dui"></i>
															   														   	                                                   	            									</div>
												</div>
	    																					<div class="font14">
													<i class="fb red fl">第十五空：&nbsp;</i>
													<div style="font-size: 14px;" class="clearfix">
	            											            										<p>file_len</p> 
	                                                   														   															                                                                      <i class="fr dui"></i>
															   														   	                                                   	            									</div>
												</div>
	    																					<div class="font14">
													<i class="fb red fl">第十六空：&nbsp;</i>
													<div style="font-size: 14px;" class="clearfix">
	            											            										<p>1</p> 
	                                                   														   															                                                                      <i class="fr dui"></i>
															   														   	                                                   	            									</div>
												</div>
	    																					<div class="font14">
													<i class="fb red fl">第十七空：&nbsp;</i>
													<div style="font-size: 14px;" class="clearfix">
	            											            										<p>to_fd</p> 
	                                                   														   															                                                                      <i class="fr dui"></i>
															   														   	                                                   	            									</div>
												</div>
	    																					<div class="font14">
													<i class="fb red fl">第十八空：&nbsp;</i>
													<div style="font-size: 14px;" class="clearfix">
	            											            										<p>buffer</p> 
	                                                   														   															                                                                      <i class="fr dui"></i>
															   														   	                                                   	            									</div>
												</div>
	    																					<div class="font14">
													<i class="fb red fl">第十九空：&nbsp;</i>
													<div style="font-size: 14px;" class="clearfix">
	            											            										<p>0</p> 
	                                                   														   															                                                                      <i class="fr dui"></i>
															   														   	                                                   	            									</div>
												</div>
	    																					<div class="font14">
													<i class="fb red fl">第二十空：&nbsp;</i>
													<div style="font-size: 14px;" class="clearfix">
	            											            										<p>BUFFER_SIZE</p> 
	                                                   														   															                                                                      <i class="fr dui"></i>
															   														   	                                                   	            									</div>
												</div>
	    																				                                </div>
	                            </div>
								
																																							 <!--显示答案解析-->
														 <!--显示答案解析-->
	                    </div>
	                     <!--单选题结束-->
																							
							                    <div class="TiMu" style="position:relative">
	                        <div class="Zy_TItle clearfix">
                                <i class="fl">2</i>
	                            <div class="clearfix" style="line-height: 35px; font-size: 14px;width:870px;">
									<div style="width:80%;height:100%;float:left;">
																																														<p>以命令行方式传入文件名，并创建新的文件。按要求填空。</p><p><br></p><p>#include &lt;stdio.h&gt;</p><p><br></p><p>#include &lt;stdlib.h&gt;</p><p><br></p><p>#include &lt;sys/types.h&gt;</p><p><br></p><p>#include &lt;sys/stat.h&gt;</p><p><br></p><p>#include &lt;fcntl.h&gt;</p><p><br></p><p>&nbsp;</p><p><br></p><p>void&nbsp; create_file(char *filename)</p><p><br></p><p>{</p><p><br></p><p>&nbsp; &nbsp; /*创建的文件具有可读可写的属性*/</p><p><br></p><p>&nbsp; &nbsp; if(creat( __1__, __2__)&lt;0)</p><p><br></p><p>{</p><p><br></p><p>&nbsp; &nbsp; &nbsp; &nbsp; printf("create file %s failure!\n",filename);</p><p><br></p><p>&nbsp; &nbsp; &nbsp; &nbsp; exit(EXIT_FAILURE);</p><p><br></p><p>&nbsp; &nbsp; }</p><p><br></p><p>else</p><p><br></p><p>{</p><p><br></p><p>&nbsp; &nbsp; &nbsp; &nbsp; printf("create file %s success!\n",filename);</p><p><br></p><p>&nbsp; &nbsp; }</p><p><br></p><p>}</p><p><br></p><p>&nbsp;</p><p><br></p><p>int main(int argc,char *argv[])</p><p><br></p><p>{</p><p><br></p><p>&nbsp; &nbsp; /*判断入参有没有传入文件名 */</p><p><br></p><p>&nbsp; &nbsp; if(__3__)</p><p><br></p><p>{</p><p><br></p><p>&nbsp; &nbsp; &nbsp; &nbsp; printf("you haven't input the filename,please try again!\n");</p><p><br></p><p>&nbsp; &nbsp; &nbsp; &nbsp; exit(EXIT_FAILURE);</p><p><br></p><p>&nbsp; &nbsp; }</p><p><br></p><p>create_file(argv[1]);&nbsp; &nbsp;&nbsp;</p><p><br></p><p>exit(EXIT_SUCCESS);</p><p><br></p><p>}</p><p><br></p>
																																</div>
									<div style="width:20%;height:100%;float:right;">
									
									</div>
								</div>
	                        </div>
                            <!--单选题开始-->
															    								 <div class="Py_tk">
                                        <p><a href="javascript:void(0)" class="blue font14" title="">正确答案：</a></p>
                                        <div>
										    																					<span class="font14">
												<i class="fb red fl">第一空：&nbsp;</i>
            									<div class="clearfix" style="750px;">
                    								<p>filename</p>
                    							</div>
											</span>
    																					<span class="font14">
												<i class="fb red fl">第二空：&nbsp;</i>
            									<div class="clearfix" style="750px;">
                    								<p>666</p>
                    							</div>
											</span>
    																					<span class="font14">
												<i class="fb red fl">第三空：&nbsp;</i>
            									<div class="clearfix" style="750px;">
                    								<p>argc&lt;2</p>
                    							</div>
											</span>
    																				                                        </div>
                                    </div>
																<div class="Py_answer clearfix">
	                                <p class="font14">我的答案：
																			</p>
	                                <div>
											    																					<div class="font14">
													<i class="fb red fl">第一空：&nbsp;</i>
													<div style="font-size: 14px;" class="clearfix">
	            											            										<p>filename</p> 
	                                                   														   															                                                                      <i class="fr dui"></i>
															   														   	                                                   	            									</div>
												</div>
	    																					<div class="font14">
													<i class="fb red fl">第二空：&nbsp;</i>
													<div style="font-size: 14px;" class="clearfix">
	            											            										<p>666</p> 
	                                                   														   															                                                                      <i class="fr dui"></i>
															   														   	                                                   	            									</div>
												</div>
	    																					<div class="font14">
													<i class="fb red fl">第三空：&nbsp;</i>
													<div style="font-size: 14px;" class="clearfix">
	            											            										<p>argc&lt;2</p> 
	                                                   														   															                                                                      <i class="fr dui"></i>
															   														   	                                                   	            									</div>
												</div>
	    																				                                </div>
	                            </div>
								
																																							 <!--显示答案解析-->
														 <!--显示答案解析-->
	                    </div>
	                     <!--单选题结束-->
																							
							                    <div class="TiMu" style="position:relative">
	                        <div class="Zy_TItle clearfix">
                                <i class="fl">3</i>
	                            <div class="clearfix" style="line-height: 35px; font-size: 14px;width:870px;">
									<div style="width:80%;height:100%;float:left;">
																																														<p>Linux一般有4个主要部分：___1__、___2 __、文件结构和__3___。</p>
																																</div>
									<div style="width:20%;height:100%;float:right;">
									
									</div>
								</div>
	                        </div>
                            <!--单选题开始-->
															    								 <div class="Py_tk">
                                        <p><a href="javascript:void(0)" class="blue font14" title="">正确答案：</a></p>
                                        <div>
										    																					<span class="font14">
												<i class="fb red fl">第一空：&nbsp;</i>
            									<div class="clearfix" style="750px;">
                    								<p>内核;Shell;实用工具</p>
                    							</div>
											</span>
    																					<span class="font14">
												<i class="fb red fl">第二空：&nbsp;</i>
            									<div class="clearfix" style="750px;">
                    								<p>内核;Shell;实用工具</p>
                    							</div>
											</span>
    																					<span class="font14">
												<i class="fb red fl">第三空：&nbsp;</i>
            									<div class="clearfix" style="750px;">
                    								<p>内核;Shell;实用工具</p>
                    							</div>
											</span>
    																				                                        </div>
                                    </div>
																<div class="Py_answer clearfix">
	                                <p class="font14">我的答案：
																			</p>
	                                <div>
											    																					<div class="font14">
													<i class="fb red fl">第一空：&nbsp;</i>
													<div style="font-size: 14px;" class="clearfix">
	            											            										<p>内核</p> 
	                                                   														   															                                                                      <i class="fr dui"></i>
															   														   	                                                   	            									</div>
												</div>
	    																					<div class="font14">
													<i class="fb red fl">第二空：&nbsp;</i>
													<div style="font-size: 14px;" class="clearfix">
	            											            										<p>Shell</p> 
	                                                   														   															                                                                      <i class="fr dui"></i>
															   														   	                                                   	            									</div>
												</div>
	    																					<div class="font14">
													<i class="fb red fl">第三空：&nbsp;</i>
													<div style="font-size: 14px;" class="clearfix">
	            											            										<p>实用工具<br></p> 
	                                                   														   															                                                                      <i class="fr dui"></i>
															   														   	                                                   	            									</div>
												</div>
	    																				                                </div>
	                            </div>
								
																																							 <!--显示答案解析-->
														 <!--显示答案解析-->
	                    </div>
	                     <!--单选题结束-->
															            </div>
        </div>
        
                
    </div>
		</div>
</div>


<script type="text/javascript">
	function showCon(obj) {
		var comment = $(obj).parent().next()
		if (comment.css("display") == "none") {
			comment.slideDown();
		} else {
			comment.slideUp();
		}
	}

 function add (num){
	var courseId=$("#courseId").val();  // 课程id
	var type=$("#type").val();   // 试题类型
	var easy=$("#easy").val();   // 试题难易度，如果大于3或者小于0  就会默认为2
	var content=$("#content").val();
	var answer=$("#answer").val();
	var score=$("#score").val();  // 试题分数
	var chapterId=$("#chapterId").val(); //  章节id，如果小于0  设为默认值0 
	var myanswer=$("#myanswer").val(); //学生答案
	var qid=$("#qid").val();  // 试题在a系统的id

	
	$("#questionErrorForm"+num).submit();
	 
 }

</script>



</body></html>